package com.woniu.springboot.mybatis;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
//启动类注解
@SpringBootApplication
//作用是扫描mapper包下的mapper接口
@MapperScan(basePackages = "com.woniu.springboot.mybatis.mapper")
public class Springboot03MybatisApplication {

    public static void main(String[] args) {
        SpringApplication.run(Springboot03MybatisApplication.class, args);
    }

}
